﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
        <script>        function killerrors() { return true; } window.onerror = killerrors; try { document.execCommand("BackgroundImageCache", false, true); } catch (err) { } </script>
    <title>Close</title>
    <style type="text/css">
        *
        {
            margin: 0;
            padding: 0;
        }
        html, body
        {
            height: 100%;
            overflow: hidden;
        }
        div, img
        {
            width: 100%;
            height: 100%;
        }
        .ifrm
        {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
        }
    </style>
    <link href="@Url.Content("~/css/GuangGao/css.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="http://cbjs.baidu.com/js/m.js"></script>
     <script type="text/javascript">        BAIDU_CLB_preloadSlots("@ViewData["content"]");</script>
</head>
<body>
    <div class="main">
        <div class="ifrm">
            <script type="text/javascript">BAIDU_CLB_fillSlot("@ViewData["content"]");</script>
        </div>
        <a href="#" id="btnclose" class="close"></a>
    </div>
    <div style="display: none">
        <script language="JavaScript" src="http://down3.emstock.com.cn/js/common/o_code.js"></script>
        <!--站长之家-->
        <script src="http://s131.cnzz.com/stat.php?id=720075&web_id=720075" language="JavaScript"
            charset="gb2312"></script>
        <!--站长之家-->
    </div>
    <script type="text/javascript">
    
    function GetExternal() {
    return window.external.EmObj;
}

function PC_JH(type, c) {
    try {
        var obj = GetExternal();
        return obj.EmFunc(type, c);
    }
    catch (e)
        { }
}
        $(function () {
        $("#btnclose").click(function(){
        //alert("123123");
        try {
         //关闭EM_FUNC_EXITSAVEDATA_CLOSE
           PC_JH("EM_FUNC_EXITSAVEDATA_CLOSE", "");
        // window.external.EmObj.EmFunc("EM_FUNC_EXITSAVEDATA_CLOSE"); 
         }
         catch (e)
        { }
        });
        });
        try {
            window.external.EmObj.EmFunc("EM_FUNC_DOWNLOAD_COMPLETE", "");
            //0客户端控制 1-6显示时长
            window.external.EmObj.EmFunc("EM_FUNC_EXITSAVEDATA_SHOWTIME","@ViewData["sc"]");
            //显示状态1为显示0为不显示
            window.external.EmObj.EmFunc("EM_FUNC_EXITSAVEDATA_SHOW","@ViewData["isshow"]");
            window.external.EmObj.EmFunc("EM_FUNC_EXITSAVEDATA_SIZE","418&636");
            
          
            //关闭
            //window.external.EmObj.EmFunc("EM_FUNC_EXITSAVEDATA_CLOSE"); 
        }
        catch (e)
        { }


    </script>
</body>
</html>
